package com.lagou.edu.vo;

import com.lagou.edu.pojo.ResumeDO;

public class ResumeVO {
//    data: [{"name":"jack","_id":8,"_uid":8,"_state":"added","address":"南京","phone":"12345556677"}]
    String name ;
    String _id;
    String _uid;
    String _state;
    String address;
    String phone;
    Long id;

    @Override
    public String toString() {
        return "ResumeVO{" +
                "name='" + name + '\'' +
                ", _id='" + _id + '\'' +
                ", _uid='" + _uid + '\'' +
                ", _state='" + _state + '\'' +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String get_id() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public String get_uid() {
        return _uid;
    }

    public void set_uid(String _uid) {
        this._uid = _uid;
    }

    public String get_state() {
        return _state;
    }

    public void set_state(String _state) {
        this._state = _state;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public ResumeDO toResumeDO() {
        ResumeDO resumeDO = new ResumeDO();
        resumeDO.setAddress(address);
        resumeDO.setId(id);
        resumeDO.setName(name);
        resumeDO.setPhone(phone);
        return resumeDO;
    }
}
